package com.itheima.d1_properties;

import java.io.FileReader;
import java.io.FileWriter;
import java.util.Properties;
import java.util.Set;


public class PropertiesTest2 {
    public static void main(String[] args) throws Exception{
        Properties properties = new Properties();
        properties.setProperty("张无忌","adimin");
        properties.setProperty("fa","dawdf");
        properties.setProperty("fseg","aff");

        properties.store(new FileWriter("Day19-properties-xml-log\\src\\users1.properties"),
                "i saved many users");

    }
}
